package refactor.replacedelegationwithinheritance.original;

public class Employee {
    private Person person = new Person();

    public String getPersonName() {
        return person.getName();
    }

    public void setName(String name) {
        person.setName(name);
    }

    public String toString() {
        return "Emp: " + person.getLastName();
    }
}
